removeStyleLayer

abstract fun removeStyleLayer(@NonNull() layerId: String): Expected<String, None>

Removes an existing style layer.

Return

A string describing an error if the operation was not successful, or empty otherwise.

Parameters

layerId

An identifier of the style layer to remove.